﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DFGK_WMS.Model.Models.BBS;

namespace DFGK.IService.BBS
{
    public interface IBBS_PostService
    {
        bool SubmitPostData(BBS_Post post, out string message);
        List<BBS_Post> GetPageData(string? title, int? status, int pageIndex, int pageSize, out int totalCount);
        bool DelBBS_Post(long postId, out string msg);
        BBS_Post? GetPost(long postId);
        bool UpdateStatus(long id, out string msg);
    }
}
